class EndarEventTimeController < ApplicationController
	layout 'standard'

	
	def new		
		@event_time = EndarEventTime.new		
	end
	
	def create
		@event_time = EndarEventTime.new(params[:event_time])
		@event_time[:event_id] = 0
		@event_time[:count] = 0
		
		if @event_time.save
			redirect_to :controller => 'endar_event', :action => 'new'
		else
			flash[:notice] = "Invalid!"
			redirect_to :controller => 'endar_user', :action => 'error'
		end
			
	end
	
	def time_slots
		
	end
end
